<?php
namespace app\api\controller;

use think\Controller;


class User extends Authbase
{
    //获取跳转信息
    public function mydata(){        
        $data = model("WechatUserModel")->field("id,nick_name,avatar_url")->find($this->Auth_Wxuser_Id);        
        $ret['code'] = 0;       
        $ret['data'] = $data;
        $ret['msg'] = 'success';
        return json($ret);
    }    
}